﻿using System;
using WpfLob.Frame;
using System.Windows.Input;
using WpfLob.Commands;

namespace WpfLob.Menu.ViewModel
{
    public class HomeViewModel : Pane
    {
        public HomeViewModel(IPresenter presenter)
            : base(presenter)
        {
        }

        public ICommand Projects
        {
            get
            {
                return new SimpleCommand(() => Presenter.Show(new ProjectsViewModel(Presenter)));
            }
        }

        public override string Title
        {
            get { return "Home"; }
        }
    }
}
